package com.wells.funda.command
{
	import com.adobe.cairngorm.commands.ICommand;
	import com.adobe.cairngorm.control.CairngormEvent;
	import com.wells.funda.business.GetInfoDelegate;
	import com.wells.funda.event.GetInfoEvent;
	
	import mx.rpc.IResponder;

	public class GetInfoCommand implements ICommand, IResponder
	{
		public function GetInfoCommand()
		{
			
		}

		public function execute(event:CairngormEvent):void
		{
			 var delegate : GetInfoDelegate = new GetInfoDelegate( this );
			 delegate.getInfo();
		}
		
		public function result(data:Object):void
		{
			trace("data  :  " + data.result);
		}
		
		public function fault(info:Object):void
		{
		}
		
	}
}